<?php
namespace app\api\controller;
use app\api\model\Theme as ThemeModel;
use app\api\model\Image;
use app\api\service\Token;
/** 
* Document
*/
class Test extends Base {
    
    public function index(){
        $res = Image::getImgUrl(3);
        return json($res);
    }

    public function tokenInfo(){
        return json(Token::getCacheValue(Token::getFromHttp()));
    }
}